ATI Technologies Inc RV280 [Radeon 9200 PRO], ultima tentativa

13. Re: ATI Technologies Inc RV280 [Radeon 9200 PRO], ultima tentativa

Henrique
slackware_explor

(usa Slackware)

Enviado em 21/01/2009 - 13:03h

Compilei e nada.
Sera que tem um plano "b"???


  


14. Re: ATI Technologies Inc RV280 [Radeon 9200 PRO], ultima tentativa

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 21/01/2009 - 13:15h

estando em /usr/src/linux/include:

# cp -R asm-x86/ /usr/include
# cp -R asm-generic/ /usr/include
# cp -R linux/ /usr/include

e então precisamos criar um link simbólico 'asm':
# cd /usr/include
# ln -s asm-x86/ asm

Estes passos acima q eu havia mencionado anteriormente vc já fez?


15. Re: ATI Technologies Inc RV280 [Radeon 9200 PRO], ultima tentativa

Henrique
slackware_explor

(usa Slackware)

Enviado em 21/01/2009 - 13:22h

Sim, tudo que vc esta falando eu fiz.


16. Re: ATI Technologies Inc RV280 [Radeon 9200 PRO], ultima tentativa

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 21/01/2009 - 13:39h

Pensei em outra coisa: vc instalou o pacote kernel-headers no slack? Instale a versão 2.6.27.7.


17. Re: ATI Technologies Inc RV280 [Radeon 9200 PRO], ultima tentativa

Henrique
slackware_explor

(usa Slackware)

Enviado em 21/01/2009 - 14:08h

Sim, Não é a "K", normalmente eu instalo sempre tudo com a primeira opcao de 4.8G


18. Re: ATI Technologies Inc RV280 [Radeon 9200 PRO], ultima tentativa

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 21/01/2009 - 14:38h

"Aew Pacheco coloquei dentro do /lib/modules/2.6.27.7-smp/build/include/linux/version.h, isso #define UTS_RELEASE "2.6.27.7-smp""

Essa informação nessa linha vc retirou e tentou d novo?


19. http://www.stanchina.net/~flavio/debian/fglrx-archive/msg00011.html

Henrique
slackware_explor

(usa Slackware)

Enviado em 21/01/2009 - 15:28h

Hi folks,

First of all, hats of to Flavio for maintaining these fglrx packages
for Debian. I've been using them for over 4 months now and they've
been a real time-saver.

On to some background for my question. I run both Woody and Sarge
boxes. Up till now I've been doing all kernel compiles on a Woody
box. But my Sarge box has got a faster CPU under the hood these
days so just today I tried compiling everything on it instead.

The problem is seemingly related to the way include/linux/version.h
is removed on a "make clean" on newer 2.6.x kernels, such as 2.6.5
(what I'm compiling). The kernel Makefile's CLEAN_FILES variable
now includes such versioned files in the clean target:

CLEAN_DIRS += $(MODVERDIR) include/config include2
CLEAN_FILES += vmlinux System.map \
include/linux/autoconf.h include/linux/version.h \
include/asm include/linux/modversions.h \
kernel.spec .tmp*

Debian's make-kpkg apparently does a make clean in there after
building kernel_image, so subsequently built modules that go looking
for version.h get hosed.

The nvidia proprietary drivers puke on this new behavior. The
workaround for them is to define "do_clean := NO" in
/etc/kernel-pkg.conf. This seems to work.


So with that trivia established, what exactly is my problem?
Compiling stock kernel 2.6.5 (from kernel.org) with
fglrx-4.X.0-3.7.6 (or 4.X.0-3.7.0, tried that too) on a Woody box
seems to build everything without incident. Doing the same compile
with exactly the same commands (and the addition of 'setenv
MAKEFLAGS "CC=gcc-2.95"' before the build) on a Sarge box fails when
it gets to the fglrx modules.

The built commands are:

setenv MAKEFLAGS "CC=gcc-2.95"
cd /usr/src/linux-2.6.5
make oldconfig
make-kpkg clean
make-kpkg --append_to_version -pm --revision yoda.1 kernel_image kernel_headers modules_image


SARGE SCENARIO #1:
If I do NOT define "do_clean := NO" in /etc/kernel-pkg.conf on
Sarge, I only get these packages successfully built:

kernel-headers-2.6.5-pm_yoda.1_i386.deb
kernel-image-2.6.5-pm_yoda.1_i386.deb

And all three fglrx packages (for XF86 4.1.0, 4.2.0, and 4.3.0) fail
to build, starting with this error:

make[1]: Entering directory `/usr/src/modules/fglrx-4.1.0-3.7.6'
if [ -f /usr/src/modules/fglrx-4.1.0-3.7.6/debian/control.template ]; then \
cat /usr/src/modules/fglrx-4.1.0-3.7.6/debian/control.template > /usr/src/modules/fglrx-4.1.0-3.7.6/debian/control; \
fi
dh_testdir
touch configure-stamp
dh_testdir
./make.sh
ATI module generator V 2.0
==========================
initializing...
kernel includes at /usr/src/linux-2.6.5/include not found or incomplete
file: /usr/src/linux-2.6.5/include/linux/version.h
make[1]: *** [build] Error 1
make[1]: Leaving directory `/usr/src/modules/fglrx-4.1.0-3.7.6'
Module /usr/src/modules/fglrx-4.1.0-3.7.6 failed.
Hit return to Continue
make: *** [modules_image] Interrupt


So, it's looking for include/linux/version.h and not finding it.



SARGE SCENARIO #2:
If I DO define "do_clean := NO" in /etc/kernel-pkg.conf on Sarge, I
get these debian packages successfully built:

fglrx-4.1.0-kernel-2.6.5-pm_3.7.6-3+yoda.1_i386.deb
kernel-headers-2.6.5-pm_yoda.1_i386.deb
kernel-image-2.6.5-pm_yoda.1_i386.deb

And the other two fglrx packages (for XF86 4.2.0 and 4.3.) fail to
build and dump out with this error:

-----------------------------------------------------------
make[1]: Leaving directory `/usr/src/modules/fglrx-4.1.0-3.7.6'
Module /usr/src/modules/fglrx-4.1.0-3.7.6 processed fine
make[1]: Entering directory `/usr/src/modules/fglrx-4.2.0-3.7.6'
if [ -f /usr/src/modules/fglrx-4.2.0-3.7.6/debian/control.template ]; then \
cat /usr/src/modules/fglrx-4.2.0-3.7.6/debian/control.template > /usr/src/modules/fglrx-4.2.0-3.7.6/debian/control; \
fi
dh_testdir
touch configure-stamp
dh_testdir
./make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
kernel includes at /usr/src/linux-2.6.5/include do not match current kernel.
they are versioned as "2.6.5"
instead of "2.6.5-pm".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
make[1]: *** [build] Error 1
make[1]: Leaving directory `/usr/src/modules/fglrx-4.2.0-3.7.6'
Module /usr/src/modules/fglrx-4.2.0-3.7.6 failed.
Hit return to Continue
-----------------------------------------------------------

At this point, "include/linux/version.h" reads:

#define UTS_RELEASE "2.6.5"
#define LINUX_VERSION_CODE 132613
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

Where it can be seen that the "UTS_RELEASE" string has been messed
up and is causing the problem. Looking at version.h earlier in the
build (while kernel_image is still being compiled) shows the correct
string in UTS_RELEASE of "2.6.5-pm". It appears that sometime
before or during the first fglrx module is being compiled, version.h
is re-written with the bogus string. So the second and third fglrx
module builds fail.

And as I said, this rewrite of version.h with the bogus version
string doesn't happen with the same build process on a Woody box.


Anyone met and solved this issue before? Anyone building multiple
fglrx module packages with kernel 2.6.5 (or newer) on Sarge?
Obviously, since it works on Woody it must be some combination of
factors that is triggering the behavior.

Thanks!
Dan


20. Re: ATI Technologies Inc RV280 [Radeon 9200 PRO], ultima tentativa

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 21/01/2009 - 15:53h

Tive uma ideia: já tentou procurar pelo pacote fglrx e instalá-lo? Eu percebi q quando vc compila ele procura por esse diretório e nesse tópico em inglês confirmou q o fglrx existe um pacote pra ele...


21. Re: ATI Technologies Inc RV280 [Radeon 9200 PRO], ultima tentativa

Henrique
slackware_explor

(usa Slackware)

Enviado em 21/01/2009 - 16:12h

É Algum desses??
find / -name *fglrx*

/etc/fglrxrc
/etc/fglrxprofiles.csv
/lib/modules/fglrx
/lib/modules/fglrx/build_mod/2.6.x/libfglrx_ip.a.GCC4
/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC2
/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC3
/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4
/lib/modules/fglrx/build_mod/libfglrx_ip.a
/mnt/sda8/Slackware Programas/9250/fglrx_4_3_0-8.28.8-1.i386.rpm
/mnt/sda8/Slackware Programas/9250/fglrx_6_8_0-8.28.8-1.i386.rpm
/mnt/sda8/Slackware Programas/9250/fglrx_6_8_0-8.28.8-1.i386.tgz
/var/log/packages/fglrx_6_8_0-8.28.8-1.i386
/usr/bin/fglrxinfo
/usr/bin/fglrx_xgamma
/usr/doc/fglrx
/usr/lib/xorg/modules/dri/fglrx_dri.so
/usr/lib/xorg/modules/linux/libfglrxdrm.a
/usr/lib/xorg/modules/drivers/fglrx_drv.o
/usr/lib/libfglrx_tvout.a
/usr/lib/libfglrx_tvout.so.1
/usr/lib/libfglrx_gamma.so.1
/usr/lib/libfglrx_tvout.so.1.0
/usr/lib/libfglrx_pp.so.1.0
/usr/lib/libfglrx_dm.a
/usr/lib/libfglrx_pp.a
/usr/lib/libfglrx_gamma.so.1.0
/usr/lib/libfglrx_dm.so.1.0
/usr/lib/libfglrx_gamma.a
/usr/src/ATI/fglrx_sample_source.tgz
/usr/src/ATI/fglrx_panel_sources.tgz
/usr/include/X11/extensions/fglrx_gamma.h


22. Re: ATI Technologies Inc RV280 [Radeon 9200 PRO], ultima tentativa

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 21/01/2009 - 16:17h

Uai... tá instalado. Q coisa estranha! Bicho, num sei mais o q faço. Se eu tiver mais alguma ideia eu t falo. T+!


23. Re: ATI Technologies Inc RV280 [Radeon 9200 PRO], ultima tentativa

Henrique
slackware_explor

(usa Slackware)

Enviado em 21/01/2009 - 16:21h

Blz pacheco, valoew pela ajuda kra.

Eu instalo mais da esse problema doido do link do source kernel, acho que a radeon odeia o Linux.

Qual O.S. Linux ja vem com suporte para placa Radeon???


24. Re: ATI Technologies Inc RV280 [Radeon 9200 PRO], ultima tentativa

.
rFzhCNrFzhCN

(usa Debian)

Enviado em 21/01/2009 - 16:33h

Lá no xorg.conf, onde vc especifica o módulo para a placa de video(acho que o default é 'vesa'), coloca 'radeon', ou 'ati'.

Um abraço.



01 02 03



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts